package com.aitesting.domain;


import lombok.Data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class ApiRequestData {
    //配置信息
    private String name;
    private String base_url;
    private Map<String,Object> variables= new HashMap<>();

    //请求信息
    private String step_name;
    private  String method;
    private  String url;
    private Map<String, String> params = new HashMap<>();
    private Map<String, String> headers = new HashMap<>();
    private Map<String, String> cookies = new HashMap<>();
    private Map<String, Object> data = new HashMap<>();
    private float timeout = 120;
    private boolean allow_redirects = true;
    private Map<String, Object> upload = new HashMap<>();

    //断言及输出信息
    private List<Map<String,Object>> validator = new ArrayList<>();
    private Map<String, String> extract = new HashMap<>();
}
